package com.oreilly.ez.fsm;

import org.springframework.statemachine.annotation.OnTransition;
import org.springframework.statemachine.annotation.WithStateMachine;

@WithStateMachine
public class StateMachineEventConfig {




    @OnTransition(source = "UNPAID" , target = "WAITING_FOR_RECEIVE")
    public void start(){

        System.out.println("UNPAID -> WAITING_FOR_RECEIVE");
    }




}
